﻿using System.Text;

namespace System
{
    [NonScript]
    public static class StringExt
    {
        public static string TrimStart(this string str, string s)
        {
            return null;
        }

        public static string TrimEnd(this string str, string s)
        {
            return null;
        }

        public static string TrimStart(this string str, char c)
        {
            return null;
        }

        public static string TrimEnd(this string str, char c)
        {
            return null;
        }

        public static string Trim(this string str)
        {
            return null;
        }

        public static bool StartWith(this string str, string s)
        {
            return false;
        }

        public static bool EndWith(this string str, string s)
        {
            return false;
        }

        public static bool StartWith(this string str, char c)
        {
            return false;
        }

        public static bool EndWith(this string str, char c)
        {
            return false;
        }
    }
}

namespace RexToy
{
    [System.ImportClass(string.Empty, "String")]
    public static class StringExt
    {
        public static bool IsNullOrEmpty(string str)
        {
            return false;
        }

        public static string Format(string format, params object[] args)
        {
            return null;
        }
    }
}